//分类相关数据类型

export interface IResponseData {
  code: number
  message: string
  ok: boolean
}

//分类的ts类型
export interface ICategoryObj {
  id: number
  name: string
  category1Id?: number
  caategory2Id?: number
}

//相应的分类接口返回数据的类型
export interface ICategoryResponseData extends IResponseData {
  data: ICategoryObj[]
}
